--save-dev 與 --save 的不同


Posted by hoyi-23 on 2021-07-20

--save

添加至 package.json 裡 dependencies 部分,網頁執行時需要的套件,e.g., JQuery, React

--save-dev

添加至 package.json 裡 devDependencies,開發時需要的套件,e.g., gulp, gulp-htmlmin, gulp-sass


#save #save-dev







Related Posts

Leetcode JS 2676. Throttle

Leetcode JS 2676. Throttle

javascript 有趣的基礎概念

javascript 有趣的基礎概念

pseudo-class    :last-child, :first-child

pseudo-class :last-child, :first-child


Comments